Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Prototype] Support ActivityLinks #2185

Closed
wants to merge 6 commits into from

Conversation

pakrym
Copy link
Contributor

@pakrym pakrym commented Mar 10, 2021

Currently, Azure SDKs produce a special kind of Activities that carries links in a

public IEnumerable<Activity> Links { get; }

property.

Migration to ActivitySource based activities would result in the same information being carried in the
https://docs.microsoft.com/en-us/dotnet/api/system.diagnostics.activity.links?view=net-5.0

This PR add support for collecting both ways of representing links.

@TimothyMothra
Copy link
Member

/AzurePipelines run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@pakrym
Copy link
Contributor Author

pakrym commented Jun 22, 2021

cc @lmolkova

@pakrym
Copy link
Contributor Author

pakrym commented Oct 6, 2021

Hey, @TimothyMothra @cijothomas!

We made the change on Azure SDK side to add an experimental ActivitySource support. How can I help you make a decision on this PR?

@TimothyMothra
Copy link
Member

/AzurePipelines run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@pakrym
Copy link
Contributor Author

pakrym commented Oct 6, 2021

Test failures seem unrelated.

Copy link
Contributor

@cijothomas cijothomas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.
@rajkumar-rangaraj Need your input before merging, as you were trying to downgrade minimum DS version (if that happens, then this PR will fail).

@pakrym Could you update changelog (if possible, mention the version of Azure SDKs which support ActivitySource)

@TimothyMothra
Copy link
Member

/AzurePipelines run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 3 pipeline(s).

Copy link
Member

@rajkumar-rangaraj rajkumar-rangaraj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. @rajkumar-rangaraj Need your input before merging, as you were trying to downgrade minimum DS version (if that happens, then this PR will fail).

@pakrym Could you update changelog (if possible, mention the version of Azure SDKs which support ActivitySource)

I ran the pipeline with Redfield set, build fails. Taking the changes in the current way makes if difficult for to use #REDFIELD as the function parameters are changing. We might need to have the functionality to skip Redfield. This requires some time and I will take a look into it.

@pakrym
Copy link
Contributor Author

pakrym commented Dec 10, 2021

@rajkumar-rangaraj any news on this? The .NET 5 activity link support has shipped in Azure SDKs

@github-actions
Copy link

github-actions bot commented Oct 7, 2022

This PR is stale because it has been open 300 days with no activity. Remove stale label or this will be closed in 7 days. Commenting will instruct the bot to automatically remove the label.

@github-actions github-actions bot added the stale label Oct 7, 2022
@github-actions github-actions bot closed this Oct 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants